import ajax from './index'
import { append } from './index'

// 收益记录列表
// export function getIncomeList(data) {
//   return ajax.post('partner_admin/user/money/record/search', data)
// }
export function getIncomeList(query) {
  return ajax({
    url: '/backend/member/profitList',
    method: 'get',
    params: query
  });
}
// 提现记录列表
// export function getWithdrawList(data) {
//   return ajax.get(`partner_admin/user/money/withdraw/list${append(data)}`)
// }

export function getWithdrawList(query) {
  return ajax({
    url: '/backend/member/withdrawList',
    method: 'get',
    params: query
  });
}
